// src/store/modules/user.js
import { defineStore } from "pinia";
import { ref } from "vue";

const useUserStore = defineStore("user", {
  state: () => {
    return {
      menuRoutes: [],
      username: "",
      avatar: "",
      buttons: [],
    };
  },
  actions:{
    demo(){
        this.menuRoutes.push("qqqqqqqq")
    }
  },
  persist: true,
});

export default useUserStore;
